package gentle.mapper;


import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.*;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * dao
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface DoctorLookedDao extends Mapper<ConsultantInfo> {
    List<DoctorLookedInfo> getQueryPage(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    int getQueryPagesInfoCount(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    List<DoctorLookedInfo> getQueryDoctorPages(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    int getQueryPagesDoctorCount(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    List<DoctorLookedInfo> getQueryPageDoctorChargePrice(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    List<DoctorLookedInfo> getQueryPageChargeSchedule(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    List<CustomerReservationsUpdateLogInfo> getList(@Param("page") Page<CustomerReservationsUpdateLogInfo> page, Map<String, Object> params);

    int getQueryPagesCount(@Param("page") Page<CustomerReservationsUpdateLogInfo> page, Map<String, Object> params);

    List<DoctorDailyLog> getDailyLogList(@Param("page") Page<DoctorDailyLog> page, Map<String, Object> params);

    int getDailyLogCount(Page<DoctorDailyLog> page, Map<String, Object> params);

    List<DoctorChangePriceInfo> getQueryPerformance(@Param("page") Page<DoctorChangePriceInfo> page, Map<String, Object> params);

    List<DoctorChangePriceInfo> getQueryPerformanceFen(@Param("page") Page<DoctorChangePriceInfo> page, Map<String, Object> params);

    //执行业绩
    int getQueryPagesPerformanceCount(@Param("page") Page<DoctorChangePriceInfo> page, Map<String, Object> params);

    //分诊业绩
    int getQueryPagesCountFen(@Param("page") Page<DoctorChangePriceInfo> page, Map<String, Object> params);

    List<DoctorLookedInfo> getQueryPages(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);

    int getQueryPagesRevisitCount(@Param("page") Page<DoctorLookedInfo> page, Map<String, Object> params);
}